package com.example.kotlindemo.net.okhttp;

import java.io.Serializable;

/**
 * @功能:
 * @Creat 2020/3/10 9:57
 * @User Lmy
 * @Compony JinAnChang
 */
public class UpDataBean implements Serializable {


    /**
     * result : 200
     * errorCode : null
     * errorMsg : 获取成功
     * resultData : {"type":1,"androidapk":"http://api.liejiaw.com/ltapp/ltbb.apk","androidcontent":"App初步完成","androidversion":"1.0","versioncode":""}
     */

    private String result;
    private int errorCode;
    private String errorMsg;
    private ResultDataBean resultData;

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public int getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(int errorCode) {
        this.errorCode = errorCode;
    }

    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }

    public ResultDataBean getResultData() {
        return resultData;
    }

    public void setResultData(ResultDataBean resultData) {
        this.resultData = resultData;
    }

    public static class ResultDataBean {
        /**
         * type : 1
         * androidapk : http://api.liejiaw.com/ltapp/ltbb.apk
         * androidcontent : App初步完成
         * androidversion : 1.0
         * versioncode :
         */

        private int type;
        private String androidapk;
        private String androidcontent;
        private String androidversion;
        private String versioncode;


        public ResultDataBean(int type, String androidapk, String androidcontent, String androidversion, String versioncode) {
            this.type = type;
            this.androidapk = androidapk;
            this.androidcontent = androidcontent;
            this.androidversion = androidversion;
            this.versioncode = versioncode;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getAndroidapk() {
            return androidapk;
        }

        public void setAndroidapk(String androidapk) {
            this.androidapk = androidapk;
        }

        public String getAndroidcontent() {
            return androidcontent;
        }

        public void setAndroidcontent(String androidcontent) {
            this.androidcontent = androidcontent;
        }

        public String getAndroidversion() {
            return androidversion;
        }

        public void setAndroidversion(String androidversion) {
            this.androidversion = androidversion;
        }

        public String getVersioncode() {
            return versioncode;
        }

        public void setVersioncode(String versioncode) {
            this.versioncode = versioncode;
        }
    }
}
